<?php
/**
 * Created by PhpStorm.
 * User: Aliaksei Lazerka
 * Date: 9/28/14
 * Time: 11:12 AM
 */

namespace parser;

if (!defined('NYMPH_ROOT')) {
  define('NYMPH_ROOT', dirname("../../../../" . __FILE__));
  require(NYMPH_ROOT . '/local/loader/kernel/classes/URLClassLoader.php');
}

/**
 * The XMLAttribute class provides the main functional
 * to save xml attribute
 */
class XMLAttribute
{
  /**
   * @var string attribute
   */
  private $attribute;
  /**
   * @var string value
   */
  private $value;

  /**
   * @return string
   */
  public function getAttribute()
  {
    return $this->attribute;
  }

  /**
   * @param string $attribute
   */
  public function setAttribute($attribute)
  {
    $this->attribute = $attribute;
  }

  /**
   * @return string
   */
  public function getValue()
  {
    return $this->value;
  }

  /**
   * @param string $value
   */
  public function setValue($value)
  {
    $this->value = $value;
  }

} 